package com.simple.dispatcher.servlet;

import java.io.IOException;
import java.io.OutputStream;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class HelloJettyServlet {

	@RequestMapping(value="/hello.do")
	public void hello(OutputStream os) throws IOException {
		os.write("<h1>hello, jetty</h1>".getBytes());
	}
}
